home *** CD-ROM | disk | FTP | other *** search
- Path: airdmhor.gen.nz!not-for-mail
- From: gumboot@airdmhor.gen.nz (Simon Hosie)
- Newsgroups: comp.lang.c
- Subject: Re: Can main() function be called?
- Date: 7 Feb 1996 02:07:48 +1300
- Organization: Airdmhor
- Message-ID: <4f7jr4$94i@airdmhor.gen.nz>
- References: <4f3hgv$ml8@columba.udac.uu.se>
- NNTP-Posting-Host: airdmhor.gen.nz
- X-Newsreader: TIN [version 1.2 PL2]
-
- > > I think that it cannot be done, I see no reasonalbe way how main()
- > > could be called more than once.
- > >
- > >
- > > What is your thoughts on this?
- > >
-
- Fredrik Raadesand:
- > I would say the simplest way to find out is to try it out ?
- > ...to post the question on the net is probably more difficult. ;)
-
- > Either it works or it doesn't, right ?
-
- Try turning on -ansi -pedantic -Wall -Werrors -W<lots of other warnings
- not encompassed by -Wall> with GCC and see if 'void main()' is legal.
-